package com.easy.frame.common.process.define.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.easy.frame.base.api.pojo.BasePO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * 流程表
 *
 * @author zzf
 * @since 2019-04-11
 */
@Getter
@Setter
@TableName("pub_process")
@ApiModel("流程表实体类")
public class ProcessDefine extends BasePO {

    @ApiModelProperty("主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("流程名")
    private String name;

    @ApiModelProperty("编号")
    private String code;

    @ApiModelProperty("涉及到的表对象名")
    private String targetName;

}
